cmake_minimum_required(VERSION 3.5.0)
project(Main)

set(CMAKE_CXX_STANDARD 20)

add_executable(main main.cpp )


if(WIN32)
set(DEP_PATH ../dependency)
endif()


if(UNIX)
set(DEP_PATH /usr/local)
endif()

set(CMAKE_INSTALL_INCLUDEDIR ${DEP_PATH}/include)
set(CMAKE_INSTALL_LIBDIR ${DEP_PATH}/lib)

# install(TARGETS web
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )

install(DIRECTORY wtclog
        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})



# add_subdirectory(test)